Smartling\DbAl\DB A

Total Complexity 58
Dependencies 15
Dependents 3
Total lines 420
Lines of code 270
Logical lines of code 128
Comment lines 32
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
schemaUpdate()
S
50 4 30
getCharsetCollate()
S
58 4 15
prepareSql()
S
57 3 16
installDb()
S
57 3 16
getIndex()
S
58 3 16
install()
S
61 3 14
uninstall()
S
62 3 11
setSchemaVersion()
S
56 2 19
getPrimaryKey()
S
67 3 8
buildTableDefinitions()
S
53 1 27
arrayToSqlColumn()
S
64 2 10
activate()
S
68 2 8
loggedQuery()
S
69 2 7
fetchPrepared()
S
68 2 7
fetch()
S
68 2 7
__construct()
S
71 1 6
getLastInsertedId()
S
82 1 3
query()
S
80 1 3
queryPrepared()
S
78 1 3
getLastErrorMessage()
S
81 1 3
prepare()
S
79 1 3
logFailedQuery()
S
78 1 3
getCollate()
S
81 1 3
completeMultisiteTableName()
S
80 1 3
completeTableName()
S
80 1 3
escape()
S
80 1 3
getMigrationManager()
S
80 1 3
getCharset()
S
81 1 3
getSchema()
S
80 1 3
getTableName()
S
79 1 3
deactivate()
S
91 1 2
getSchemaVersion()
S
78 1 3
getWpdb()
S
82 1 3
getPrefix()
S
82 1 3